﻿using System;
using System.ComponentModel;

namespace Pay.TO {
    /// <summary>
    /// 用户角色:1：管理员，2：oem。3：普通用户
    /// </summary>
    [Serializable]
    public enum UserType {
        /// <summary>
        /// 
        /// </summary>
        None = 0,
        /// <summary>
        /// 1管理员
        /// </summary>
        [Description("管理员")]
        admin = 1,
        /// <summary>
        /// 2oem
        /// </summary>
        [Description("oem")]
        oem = 2,
        /// <summary>
        /// 3普通用户
        /// </summary>
        [Description("普通用户")]
        user = 3,
        /// <summary>
        /// 4分销商
        /// </summary>
        [Description("分销商")]
        distributor = 4,
        /// <summary>
        /// 5供应商
        /// </summary>
        [Description("供应商")]
        supplier = 5,
        /// <summary>
        /// 6创客
        /// </summary>
        [Description("创客")]
        tokenMaker = 6,
        /// <summary>
        /// 7一级节点
        /// </summary>
        [Description("一级节点")]
        tokenNodeMall = 7,
        /// <summary>
        /// 8超级节点
        /// </summary>
        [Description("超级节点")]
        tokenCountyAgent = 8,
        /// <summary>
        /// 9城市级分公司合伙人
        /// </summary>
        [Description("市分公司")]
        tokenCityAgent = 9
    }
}
